package cn.getech.data.development.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * 定时时间执行历史
 * 
 * @author qiuxinglei
 * @email qiuxinglei@gmail.com
 * @date 2020-09-15 13:51:32
 */
@ApiModel(description = "定时时间执行历史")
@Data
@TableName("bdp_schedule_time_history")
public class ScheduleTimeHistoryEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "historyId")
	@TableId
	private Long historyId;
	/**
	 * id
	 */
	@ApiModelProperty(value = "scheduleId")
	private String scheduleId;
	/**
	 * 执行时间
	 */
	@ApiModelProperty(value = "执行时间")
	private Long scheduleTime;
	/**
	 * 执行时间字符串
	 */
	@ApiModelProperty(value = "执行时间字符串")
	private String scheduleTimeStr;
	/**
	 * 执行类名
	 */
	@ApiModelProperty(value = "执行类名")
	private String beanName;
	/**
	 * 执行类方法
	 */
	@ApiModelProperty(value = "执行类方法")
	private String function;
	/**
	 * 执行类方法参数
	 */
	@ApiModelProperty(value = "执行类方法参数")
	private String params;
	/**
	 * 创建时间
	 */
	@ApiModelProperty(value = "创建时间")
	private Date createTime;
	/**
	 * 状态 1:成功 2:失败
	 */
	@ApiModelProperty(value = "状态 1:成功 2:失败")
	private Integer scheduleStatus;
	/**
	 * 耗时(毫秒)
	 */
	@ApiModelProperty(value = "耗时(毫秒)")
	private Integer scheduleCost;
	/**
	 * 描述
	 */
	@ApiModelProperty(value = "描述")
	private String scheduleDesc;
	/**
	 * 类型 1:邮件 2:元数据采集
	 */
	@ApiModelProperty(value = "类型 1:邮件 2:元数据采集")
	private Integer scheduleType;
}
